package com.xuxin.baby.photo;

import android.content.Context;
import android.view.View;
import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.maning.imagebrowserlibrary.ImageEngine;

/**
 * Created by xu_xin
 * Created on 2020/12/8 0008
 */
public class BrowserEngine implements ImageEngine {
    @Override
    public void loadImage(Context context, String url, ImageView imageView, View progressView, View customImageView) {
        Glide.with(context)
                .load(url)
                .fitCenter()
                .into(imageView);
    }
}